#include <mission.hpp>

Mission::Mission(int timeoutMs, int timeoutOpt, void* argNormal, void* argStopped, void* argTimeout, int userData, void* userDataP)
	: m_State(0)
	, m_TimeoutMs(timeoutMs)
	, m_TimeoutOpt(timeoutOpt)
	, m_ArgNormal(argNormal)
	, m_ArgStopped(argStopped)
	, m_ArgTimeout(argTimeout)
	, m_UserData(userData)
	, m_UserDataP(userDataP)
{
}

Mission::~Mission()
{
}

void Mission::Finish(void)
{
	m_State = MIS_STATE_FINISHED;
}

void Mission::Timeout(void)
{
	m_State = MIS_STATE_TIMEOUT;
}

void Mission::Abort(void)
{
	m_State = MIS_STATE_ABORTED;
}
